<script setup lang="ts">
import { RouterView } from 'vue-router'
import zhCN from 'ant-design-vue/es/locale/zh_CN';
import dayjs from 'dayjs';
import 'dayjs/locale/zh-cn';
dayjs.locale('zh-cn');
const locale = zhCN;
const theme = {
  token: {
    colorPrimaryBg: "#D5EAFF",
    sizeStep: 4,
    fontSize: 16,
    colorPrimary: "#0f5df9",
    borderRadius: 8,
  },
}
</script>

<template>
  <a-config-provider :locale="locale" :theme="theme">
    <div class="app">
      <!-- 页面内容会通过 RouterView 动态渲染 -->
      <RouterView />
    </div>
  </a-config-provider>
</template>

<style scoped>

</style>
